package com.xinchao.ck_mips.bean;

import java.util.List;

/**
 * Created by wq on 2019/5/7.
 */
public class DeviceInfoBean {
    private String token;
    private List<PollConfig> pollConfig;
    private NewChangeBean newChange;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<PollConfig> getPollConfig() {
        return pollConfig;
    }

    public void setPollConfig(List<PollConfig> pollConfig) {
        this.pollConfig = pollConfig;
    }

    public NewChangeBean getNewChange() {
        return newChange;
    }

    public void setNewChange(NewChangeBean newChange) {
        this.newChange = newChange;
    }

    public static class NewChangeBean {
        private Boolean newProgram;
        //节目批次号
        private Long newProgramUpdateTime;

        private Boolean newSetting;
        //设置批次号
        private Long newSettingUpdateTime;

        private Boolean newUpgrade;
        //升级批次号
        private Long newUpgradeUpdateTime;

        public Boolean getNewProgram() {
            return newProgram;
        }

        public void setNewProgram(Boolean newProgram) {
            this.newProgram = newProgram;
        }

        public Long getNewProgramUpdateTime() {
            return newProgramUpdateTime;
        }

        public void setNewProgramUpdateTime(Long newProgramUpdateTime) {
            this.newProgramUpdateTime = newProgramUpdateTime;
        }

        public Boolean getNewSetting() {
            return newSetting;
        }

        public void setNewSetting(Boolean newSetting) {
            this.newSetting = newSetting;
        }

        public Long getNewSettingUpdateTime() {
            return newSettingUpdateTime;
        }

        public void setNewSettingUpdateTime(Long newSettingUpdateTime) {
            this.newSettingUpdateTime = newSettingUpdateTime;
        }

        public Boolean getNewUpgrade() {
            return newUpgrade;
        }

        public void setNewUpgrade(Boolean newUpgrade) {
            this.newUpgrade = newUpgrade;
        }

        public Long getNewUpgradeUpdateTime() {
            return newUpgradeUpdateTime;
        }

        public void setNewUpgradeUpdateTime(Long newUpgradeUpdateTime) {
            this.newUpgradeUpdateTime = newUpgradeUpdateTime;
        }
    }

    public static class PollConfig {
        private String pollConfigId;
        private long pollIntervalTime;
        private String pollName;

        public String getPollConfigId() {
            return pollConfigId;
        }

        public void setPollConfigId(String pollConfigId) {
            this.pollConfigId = pollConfigId;
        }

        public long getPollIntervalTime() {
            return pollIntervalTime;
        }

        public void setPollIntervalTime(long pollIntervalTime) {
            this.pollIntervalTime = pollIntervalTime;
        }

        public String getPollName() {
            return pollName;
        }

        public void setPollName(String pollName) {
            this.pollName = pollName;
        }
    }
}
